﻿using Microsoft.Extensions.Configuration;

namespace AiQiuQuan.Sport.Core
{
    /// <summary>
    /// apiurl
    /// </summary>
    public class ApiUrl
    {
        private readonly IConfiguration _configuration;

        /// <summary>
        /// ctor
        /// </summary>
        public ApiUrl(IConfiguration configuration)
        {
            _configuration = configuration;
        }

        /// <summary>
        /// baseurl
        /// </summary>
        public string BaseUrl => _configuration["BaseUrl"];
    }
}
